//package com.example.tests;

import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;

public class Con_ZipCodeLookup_LinkVerification extends SeleneseTestCase  {
	@Before
	public void setUp() throws Exception {
		selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://www.gfwfn.com/");
		selenium.start();
	}

	@Test
	public void testConHomePage() throws Exception {
		selenium.open("http://www.gofurtherwithfordnight2.com/ZipCodeLookup.php");
		selenium.waitForPageToLoad("30000");
		selenium.click("link=www.americanidol.com");
		selenium.click("link=Official Rules");
		selenium.click("link=Privacy Statement");
		selenium.click("link=CA Privacy Statement");
		selenium.click("css=img[alt=\"Check out the all-new 2013 Fusion\"]");
	}

	@After
	public void tearDown() throws Exception {
		selenium.stop();
	}
}